home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / Coord / Static / Makefile < prev   
Makefile  |  1995-09-04  |  2KB  |  103 lines

  1.  
  2. ObjectFiles    =        \
  3.             o.Convert1    \
  4.             o.Convert2    \
  5.             o.Convert3    \
  6.             o.Convert4    \
  7.             o.PtInRect    \
  8.             o.RectCntain    \
  9.             o.RectsOvlap    \
  10.             o.RectUnion    \
  11.             o.WOrigin    \
  12.  
  13.  
  14. LibName        =    Coord
  15.  
  16. # Template makefile which makes normal 
  17. # .o files for use in the main static
  18. # linking DeskLib.
  19.  
  20. # The macro $(ObjectFiles) should be set at the 
  21. # start of this file to be a space-separated
  22. # list of object files.
  23. # This is done by 'Makatic'.
  24.  
  25. # The macro $(LibName) should also be set at the 
  26. # start of this file, to be the name of the 
  27. # DeskLib sublibrary.
  28. # This is done by 'Makatic'.
  29.  
  30. # Compiler and linker flags, These can be anything. 
  31. # All essential flags are included in the macros 
  32. # $(CC) and $(ASM)
  33. #
  34. CCFlags        =    -ffahi $(CCExtra) -depend !Depend -throwback -D_DeskLib_$(LibName) -I,C:
  35. ASMFlags    =    -Stamp -NoCache -CloseExec -Quit $(ASMExtra)
  36.  
  37. CC        =    cc -c $(CCFlags)
  38. ASM        =    objasm $(ASMFlags)
  39.  
  40.  
  41. # -------------------------------------------------------
  42. # Everything below here should probably not be changed...
  43. # -------------------------------------------------------
  44.  
  45. # Here's what we want to make...
  46. #
  47. All:        $(ObjectFiles)
  48.  
  49.  
  50. VPATH = @.^
  51.  
  52. .SUFFIXES:    .c .s .o
  53.  
  54. .c.o:
  55.     $(CC) $< -o $@
  56.     
  57. .s.o:
  58.     $(ASM) -from $< -to $@
  59.  
  60.  
  61.  
  62. # Dynamic dependencies:
  63. o.Convert1:    ^.c.Convert1
  64. o.Convert1:    DeskLib:h.Core
  65. o.Convert1:    DeskLib:h.Coord
  66. o.Convert1:    DeskLib:h.Wimp
  67. o.Convert1:    DeskLib:h.Wimp
  68. o.Convert2:    ^.c.Convert2
  69. o.Convert2:    DeskLib:h.Core
  70. o.Convert2:    DeskLib:h.Coord
  71. o.Convert2:    DeskLib:h.Wimp
  72. o.Convert2:    DeskLib:h.Wimp
  73. o.Convert3:    ^.c.Convert3
  74. o.Convert3:    DeskLib:h.Core
  75. o.Convert3:    DeskLib:h.Coord
  76. o.Convert3:    DeskLib:h.Wimp
  77. o.Convert3:    DeskLib:h.Wimp
  78. o.Convert4:    ^.c.Convert4
  79. o.Convert4:    DeskLib:h.Core
  80. o.Convert4:    Desklib:h.Coord
  81. o.Convert4:    Desklib:h.Wimp
  82. o.Convert4:    DeskLib:h.Wimp
  83. o.PtInRect:    ^.c.PtInRect
  84. o.PtInRect:    DeskLib:h.Core
  85. o.PtInRect:    DeskLib:h.Wimp
  86. o.PtInRect:    DeskLib:h.Coord
  87. o.RectCntain:    ^.c.RectCntain
  88. o.RectCntain:    DeskLib:h.Core
  89. o.RectCntain:    DeskLib:h.Wimp
  90. o.RectCntain:    DeskLib:h.Coord
  91. o.RectsOvlap:    ^.c.RectsOvlap
  92. o.RectsOvlap:    DeskLib:h.Core
  93. o.RectsOvlap:    DeskLib:h.Wimp
  94. o.RectsOvlap:    DeskLib:h.Coord
  95. o.RectUnion:    ^.c.RectUnion
  96. o.RectUnion:    DeskLib:h.Core
  97. o.RectUnion:    DeskLib:h.Wimp
  98. o.RectUnion:    DeskLib:h.Coord
  99. o.WOrigin:    ^.c.WOrigin
  100. o.WOrigin:    DeskLib:h.Core
  101. o.WOrigin:    DeskLib:h.Wimp
  102. o.WOrigin:    DeskLib:h.Coord
  103.